package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingPlanMapper
 * @Author lwh
 * @Date 2025-05-10  15:38
 */
@Mapper
public interface NursingPlanMapper {
    List<NursingPlanVo> selectAllPlans();

    void insert(NursingPlan nursingPlan);

    Page<NursingPlan> page(String name, Integer status);

    NursingPlan selectById(Long id);

    void update(NursingPlan nursingPlan);

    void delete(Long id);

    void updateStatus(Long id, Integer status);

    Integer count(Long id);
}
